package com.sensetime.bi.senselink.server.constant;

import com.sensetime.bi.senselink.server.util.StringUtils;
import io.netty.handler.codec.http.HttpMethod;
import io.netty.util.AttributeKey;

/**
 * @author liugaowei
 * @description RTSP 常量定义
 */
public class Constant {

    // Carriage return and new line to send to server
    public static final String CRLF = "\r\n";
    public static final String RTSPTOKEN = StringUtils.SPACE + "\t\n\r\f;";

    // 当前连接的处理状态
    public static final AttributeKey<HttpMethod> CONNECTION_STATUS = AttributeKey.newInstance("status");

    // session_id
    public static final AttributeKey<String> SESSION_ID = AttributeKey.newInstance("session_id");

    // authorization info
    public static final AttributeKey<String> AUTH_INFO = AttributeKey.newInstance("auth_info");
}
